package com.crm.service.impl;

import com.crm.model.User;
import com.crm.mapper.UserMapper;
import com.crm.model.dto.UserDTO;
import com.crm.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zjd
 * @since 2021-04-01
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {


    @Override
    public List<UserDTO> findAllUser() {
        return baseMapper.findAllUser();
    }
}
